import java.util.Vector;

public class CorpusWord {
	private String word_;
	private Vector line_numbers_;
	
	public CorpusWord(String word, int line_num){
		word_ = word;
		line_numbers_ = new Vector();
		line_numbers_.add(new Integer(line_num));
	}
	
	public void addLineNumber(int line_num){
		line_numbers_.add(new Integer(line_num));
	}
	
	public String getWord(){
		return word_;
	}
	
	public Vector getLineNumbers(){
		return line_numbers_;
	}
}
